import java.awt.Color;

public class SarkothBot extends Ham {

	private boolean running;		//control flow
	private Leg firstLeg;			//first leg of journey
	private Coord teleportLoc;		//cursor location for teleport
	private Leg underDankCellar;	//just under the dank cellar
	private Coord cellarEntrance;	//hover over dank cellar entrance
	private Area signaturePxArea;	//where to search for open dank
	private Color openDankPxColor;	//color to search for
	private Coord leaveGameLoc;		//loc of leave game button in menu
	private Leg downHallway;		//halfway down hallway
	private Leg inDoorway;			//in front of sarkoth doorway
	private Coord sarkothLoc;		//on top of sarkoth
	private Leg pickitPath1;		//beyond sarkoth
	private Leg pickitPath2;		//right side of chest
	private Leg pickitPath3;		//left side of chest

    public SarkothBot(Character ch) throws Exception
    {
    	super(ch);
    	running			= true;
    	firstLeg		= new Leg(477,218,1600);
    	teleportLoc		= new Coord(50,410);
    	underDankCellar	= new Leg(58,358,2600);
    	cellarEntrance	= new Coord(970,260);
    	signaturePxArea	= new Area(890,151,1033,332);
    	openDankPxColor	= new Color(135,194,249);
    	leaveGameLoc	= new Coord(839,562);
    	downHallway		= new Leg(230,844,1800);
    	inDoorway		= new Leg(650,492,800);
    	sarkothLoc		= new Coord(469,191);
    	pickitPath1		= new Leg(0,0,850);
    	pickitPath2		= new Leg(850,0,850);
    	pickitPath3		= new Leg(370,812,850);
    }

    public void run()
    {
    	while (running)
    	{
	    	startGame();
	    	moveToSarkoth();
	    	killSarkoth();
	    	pickit();
	    	leaveGame();
    	}
    }

    private void startGame()
    {
    	rsleep(4000,6000);
    }

    private void moveToSarkoth()
    {
    }

    private void killSarkoth()
    {
    }

    private void pickit()
    {
    }

    private void leaveGame()
    {
    }

}

